package com.nuc.edu.project.system.book.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.nuc.edu.framework.aspectj.lang.annotation.Excel;
import com.nuc.edu.framework.web.domain.BaseEntity;

/**
 * 家政预约管理对象 sys_book
 * 
 * @author ruoyi
 * @date 2022-02-10
 */
public class Book extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 订单ID */
    private Long orderId;

    /** 用户ID */
    @Excel(name = "用户ID")
    private Long userId;

    /** 用户姓名 */
    @Excel(name = "用户姓名")
    private String userName;

    /** 用户手机号 */
    @Excel(name = "用户手机号")
    private String userPhone;

    /** 订单编号 */
    @Excel(name = "订单编号")
    private Long orderNo;

    /** 预定类型 */
    @Excel(name = "预定类型")
    private String postName;

    /** 订单状态 */
    @Excel(name = "订单状态")
    private Integer orderStatus;

    /** 订单金额 */
    @Excel(name = "订单金额")
    private String orderAmount;

    /** 支付渠道 */
    @Excel(name = "支付渠道")
    private Integer payChannel;

    /** 支付流水号 */
    @Excel(name = "支付流水号")
    private String tradeNo;

    /** 删除标记 */
    private Integer delFlag;

    public void setOrderId(Long orderId)
    {
        this.orderId = orderId;
    }

    public Long getOrderId()
    {
        return orderId;
    }
    public void setUserId(Long userId)
    {
        this.userId = userId;
    }

    public Long getUserId()
    {
        return userId;
    }
    public void setUserName(String userName)
    {
        this.userName = userName;
    }

    public String getUserName()
    {
        return userName;
    }
    public void setUserPhone(String userPhone)
    {
        this.userPhone = userPhone;
    }

    public String getUserPhone()
    {
        return userPhone;
    }
    public void setOrderNo(Long orderNo)
    {
        this.orderNo = orderNo;
    }

    public Long getOrderNo()
    {
        return orderNo;
    }
    public void setPostName(String postName)
    {
        this.postName = postName;
    }

    public String getPostName()
    {
        return postName;
    }
    public void setOrderStatus(Integer orderStatus)
    {
        this.orderStatus = orderStatus;
    }

    public Integer getOrderStatus()
    {
        return orderStatus;
    }
    public void setOrderAmount(String orderAmount)
    {
        this.orderAmount = orderAmount;
    }

    public String getOrderAmount()
    {
        return orderAmount;
    }
    public void setPayChannel(Integer payChannel)
    {
        this.payChannel = payChannel;
    }

    public Integer getPayChannel()
    {
        return payChannel;
    }
    public void setTradeNo(String tradeNo)
    {
        this.tradeNo = tradeNo;
    }

    public String getTradeNo()
    {
        return tradeNo;
    }
    public void setDelFlag(Integer delFlag)
    {
        this.delFlag = delFlag;
    }

    public Integer getDelFlag()
    {
        return delFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("orderId", getOrderId())
            .append("userId", getUserId())
            .append("userName", getUserName())
            .append("userPhone", getUserPhone())
            .append("orderNo", getOrderNo())
            .append("postName", getPostName())
            .append("orderStatus", getOrderStatus())
            .append("orderAmount", getOrderAmount())
            .append("payChannel", getPayChannel())
            .append("tradeNo", getTradeNo())
            .append("createTime", getCreateTime())
            .append("remark", getRemark())
            .append("delFlag", getDelFlag())
            .toString();
    }
}
